package org.study.mybatis.binding;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 可以把这个看成是mapper的容器，专门存放mapperMethod对象
 */
public class MapperRegistry {
    private Map<String, MapperMethod> knownMappers = new ConcurrentHashMap();

    public Map<String, MapperMethod> getKnownMappers() {
        return knownMappers;
    }

    public void setKnownMappers(Map<String, MapperMethod> knownMappers) {
        this.knownMappers = knownMappers;
    }
}
